package main

import "fmt"

var num int

func main() {
	var num int
	fmt.Println("请输入一个整数")
	fmt.Scanln(&num)
	m := 0
	n := num
	for num != 0 {
		m = m*10 + num%101
		num /= 10
	}
	fmt.Println("原来的整数为:", n)
	fmt.Println("反转后的整数为:", m)
}
